﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CustDetailed.aspx.cs" Inherits="Module_CustManger_CustInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
    <ext:Panel ID="Panel1" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
        ShowBorder="false" ShowHeader="false" Title="Panel" Layout="Row">
        <Toolbars>
            <ext:Toolbar runat="server">
                <Items>
                    <ext:Button ID="Button1" runat="server" Text="保存" OnClick="Button1_Click">
                    </ext:Button>
                    <ext:Button ID="Button2" runat="server" Text="取消" Hidden="true">
                    </ext:Button>
                    <ext:Button ID="Button3" runat="server" Text="移交至客服经理" OnClick="Button3_Click" >
                    </ext:Button>
                    <ext:Button ID="Button10" runat="server" Text="设定为保护客户" OnClick="Button10_Click">
                    </ext:Button>
                    <ext:Button ID="Button11" runat="server" Text="取消保护客户" OnClick="Button11_Click">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Panel ID="Panel2" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                ShowBorder="false" ShowHeader="false" Title="Panel" RowHeight="37%">
                <Items>
                    <ext:Form ID="Form2" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                        ShowBorder="false" ShowHeader="false" Title="Form">
                        <Rows>
                            <ext:FormRow ID="FormRow1" runat="server" ColumnWidths="50% 25% 25%">
                                <Items>
                                    <ext:TextBox ID="CustName" runat="server" Label="客户名称" Text="">
                                    </ext:TextBox>
                                   
                                    <ext:Label ID="Label2" runat="server" Label="保护客户" Text="">
                                    </ext:Label>
                                     <ext:Label ID="Label1" runat="server" Label="移交至客服经理" Text="" Hidden="true">
                                    </ext:Label>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow ID="FormRow2" runat="server">
                                <Items>
                                    <ext:TextBox ID="TelPhone" runat="server" Label="联系电话" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="CompanyName" runat="server" Label="客户公司名称" Text="">
                                    </ext:TextBox>
                                    
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:NumberBox ID="PayCount" runat="server" Label="付款金额">
                                    </ext:NumberBox>
                                    <ext:TextBox ID="Industry" runat="server" Label="客户行业" Text="">
                                    </ext:TextBox>
                                   
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow ID="FormRow4" runat="server">
                                <Items>
                                 <ext:TextBox ID="Legal" runat="server" Label="法人代表" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="CustAddress" runat="server" Label="客户地址" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="No" runat="server" Label="No" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="OrdersCode" runat="server" Label="下单表编号" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="ID" runat="server" Label="ID号码" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="Pwd" runat="server" Label="密码" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="QQ" runat="server" Label="QQ号码" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="mail" runat="server" Label="邮箱" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="Website" runat="server" Label="网址" Text="">
                                    </ext:TextBox>
                                    <ext:DatePicker ID="ClearTime" runat="server" Label="开通时间">
                                    </ext:DatePicker>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="ServerStaffName" runat="server" Label="客服人员" Text="" >
                                    </ext:TextBox>
                                     <ext:TextBox ID="ServerStaffTel" runat="server" Label="客服电话" Text="" >
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                        </Rows>
                    </ext:Form>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel3" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                ShowBorder="false" ShowHeader="false" Title="Panel" RowHeight="63%" Layout="Fit">
                <Items>
                    <ext:TabStrip ID="TabStrip1" runat="server" ActiveTabIndex="0"  ShowBorder="false">
                        <Tabs>
                            <ext:Tab ID="Tab2" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                                Layout="Fit" Title="跟进情况">
                                <Items>
                                    <ext:Panel ID="Panel9" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                                        ShowBorder="false" ShowHeader="false" Title="Panel" RowHeight="65%" Layout="Fit">
                                        <Toolbars>
                                            <ext:Toolbar runat="server">
                                                <Items>
                                                    <ext:Button ID="Button9" runat="server" Text="添加跟进情况">
                                                    </ext:Button>
                                                    <ext:Button ID="Button7" runat="server" Text="刷新跟进情况" OnClick="Button7_Click">
                                                    </ext:Button>
                                                    <ext:Button ID="Button8" runat="server" Text="删除跟进情况" OnClick="Button8_Click" ConfirmText="是否确定删除选中信息" Hidden="true">
                                                    </ext:Button>
                                                </Items>
                                            </ext:Toolbar>
                                        </Toolbars>
                                        <Items>
                                            <ext:Grid ID="Grid3" runat="server" EnableCheckBoxSelect="true" EnableRowNumber="true"  DataKeyNames="CustFollow"
                                                AllowPaging="true" Title="跟进情况列表" OnRowCommand="Grid3_RowCommand">
                                                <Columns>
                                                    <ext:LinkButtonField Text ="查看" CommandName="UpdateFlow" />
                                                   <ext:BoundField HeaderText="跟进方式" Width="100px"  DataField="FollowType"/>
                                                   <ext:BoundField HeaderText="其他跟进方式" Width="100px" DataField="OtherFollow"/>
                                                    <ext:BoundField HeaderText="跟进时间" Width="100px" DataField="FollowTime"/>
                                                    <ext:BoundField HeaderText="客户跟进情况" Width="250px" DataField="FollowSituation"/>
                                                </Columns>
                                            </ext:Grid>
                                        </Items>
                                    </ext:Panel>
                                </Items>
                            </ext:Tab>
                            <ext:Tab ID="Tab1" runat="server" BodyPadding="0px" EnableBackgroundColor="true" Visible="false"
                                Layout="Fit" Title="约见情况">
                                <Items>
                                    <ext:Panel ID="Panel6" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                                        ShowBorder="false" ShowHeader="false" Title="Panel" Layout="Fit">
                                        <Toolbars>
                                            <ext:Toolbar ID="Toolbar1" runat="server">
                                                <Items>
                                                    <ext:Button ID="Button4" runat="server" Text="添加约见情况">
                                                    </ext:Button>
                                                    <ext:Button ID="Button5" runat="server" Text="保存约见情况_测试" Hidden="true">
                                                    </ext:Button>
                                                    <ext:Button ID="Button12" runat="server" Text="刷新约见情况" OnClick="Button12_Click">
                                                    </ext:Button>
                                                    <ext:Button ID="Button6" runat="server" Text="删除约见情况" OnClick="Button6_Click" ConfirmText="是否确定删除选中信息" Hidden="true">
                                                    </ext:Button>
                                                </Items>
                                            </ext:Toolbar>
                                        </Toolbars>
                                        <Items>
                                            <ext:Grid ID="Grid2" runat="server" EnableCheckBoxSelect="true" EnableRowNumber="true" DataKeyNames="CustMettingID"
                                                AllowPaging="true" Title="约见时间列表" OnRowCommand="Grid2_RowCommand">
                                                <Columns>
                                                     <ext:LinkButtonField Text ="查看" CommandName="UpdateMetting" />
                                                    <ext:BoundField HeaderText="客户名称" Width="100px"  DataField="CustName"/>
                                                    <ext:BoundField HeaderText="约见时间" Width="100px" DataField="MetingTime"/>
                                                    <ext:BoundField HeaderText="陪同人" Width="100px" DataField="Accompany"/>
                                                    <ext:BoundField HeaderText="备注" Width="100px" DataField="Remark"/>
                                                </Columns>
                                            </ext:Grid>
                                        </Items>
                                    </ext:Panel>
                                </Items>
                            </ext:Tab>
                        </Tabs>
                    </ext:TabStrip>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    <ext:Window ID="Window1" runat="server" Height="500px" IsModal="true" 
        Popup="false" EnableIFrame="true" Title="Window" Width="700px" EnableClose="true"
        onclose="Window1_Close">
    </ext:Window>

     <ext:Window ID="Window2" runat="server" Height="500px" IsModal="true" 
        Popup="false" EnableIFrame="true" Title="Window" Width="700px" EnableClose="true"
        onclose="Window2_Close">
    </ext:Window>
    </form>
</body>
</html>
